package com.superlistaportable.welcome;

import com.superlistaportable.selectSupermarket.SelectSupermarketActivity;

import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;


public class WelcomeController implements OnClickListener {
	
	private final WelcomeView view;
	private final WelcomeModel model;
	private final WelcomeActivity activity;
	
    public WelcomeController(WelcomeModel m, WelcomeView v, WelcomeActivity a) {
    	model = m;
    	view = v;
    	activity = a;
    }
    
    public void onClick(View v) {
    	Intent intent = new Intent(activity, SelectSupermarketActivity.class);
    	activity.startActivity(intent);
    }
}